package com.jiezuo.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiezuo.common.base.BaseEntity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
* @description   登陆日志
* @author        庞留杰
* @date          2021/12/01 14:08
* @version       V1.0
**/
//登陆日志")
@Data
@TableName(value = "sys_login_log")
public class LoginLog extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

	//区域")
	private String area;

	//备注")
	private String note;

	//城市")
	private String city;

	//ip")
	private String ip;

	//运营商")
	private String operator;

	//系统名称")
	private String system;

	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	//登录时间")
	private Date login_time;

	//浏览器名称")
	private String browser;

	//用户名")
	private String username;

	//用户主键")
	private String user_id;
}
